AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de impresión
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
iListPrinter (Function)
In french: iListeImprimante
Returns the list of printers installed on the current computer.
WEBDEV - Server code The list of printers correspond to the local printers installed on the Web server (and not on the computer of the Web user). The network printers are not listed.
Example
sPrinterList is string
sPrinterList = iListPrinter()
Syntax
<Result> = iListPrinter()
<Result>: Character string
List of printers in the following format:
<Printer 1> + CR + ... + <Printer N>

Where <Printer 1> ... <Printer N> correspond to the name of the printers.
Remarks
To display the list of printers in a List Box or Combo Box control, use the following syntax:
ListAdd(<Name of List Box or Combo Box control>, <Result>)
Component: wd290prn.dll
Versión mínima requerida
  • Versión 9
Comentarios
exemplo ilistPrinter
//Youtube
https://youtu.be/GkQLOltnskY
// buscanco impressoras
lista_impressoras is string=iListPrinter()
COMBO_IMPRESSORAS.DeleteAll()
COMBO_IMPRESSORAS.Add("Tela")
COMBO_IMPRESSORAS.Add(lista_impressoras)
ListSelectPlus(COMBO_IMPRESSORAS,1)
//imprimindo
IF COMBO_IMPRESSORAS..StoredValue="Tela" THEN
iPreview(ipvZoom100)
ELSE
iConfigure(COMBO_IMPRESSORAS..StoredValue)
END
iPrint(iFont(1)+"Teste de relatorio")
iEndPrinting()
amarildo
19 05 2023

Última modificación: 21/06/2023

Señalar un error o enviar una sugerencia | Ayuda local